<% remote_form_for @mood,
  :update => "status",
  :url => valleyers_show_homes_show_moods_url,
  :method => :post,
  :complete => "$('mood_content').value = '冒泡无罪，发言有理。'",
  :html => {
    :id => "new_mood_form"
  } do |f| %>
  <%= f.hidden_field :valleyer_id %>
  <%= f.text_area :content, :value => "冒泡无罪，发言有理。", :onfocus => "clearDefault(this);", :onblur => "resetDefault(this);" %>
  <%= link_to_function image_tag("valleyer/voice.jpg"), "$('new_mood_form').onsubmit()" %>
<% end %>
